package com.pearadmin.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import com.pearadmin.system.domain.TeacherAnalysisImprovement;

/**
 * 任课教师分析与改进Mapper接口
 *
 * @author jmys
 * @date 2021-04-12
 */
@Mapper
public interface TeacherAnalysisImprovementMapper
{
    /**
     * 查询任课教师分析与改进
     *
     * @param id 任课教师分析与改进ID
     * @return 任课教师分析与改进
     */
    public TeacherAnalysisImprovement selectTeacherAnalysisImprovementById(Long id);

    /**
     * 查询任课教师分析与改进列表
     *
     * @param teacherAnalysisImprovement 任课教师分析与改进
     * @return 任课教师分析与改进集合
     */
    List<TeacherAnalysisImprovement> selectTeacherAnalysisImprovementList(TeacherAnalysisImprovement teacherAnalysisImprovement);

    /**
     * 新增任课教师分析与改进
     *
     * @param teacherAnalysisImprovement 任课教师分析与改进
     * @return 结果
     */
    int insertTeacherAnalysisImprovement(TeacherAnalysisImprovement teacherAnalysisImprovement);

    /**
     * 修改任课教师分析与改进
     *
     * @param teacherAnalysisImprovement 任课教师分析与改进
     * @return 结果
     */
    int updateTeacherAnalysisImprovement(TeacherAnalysisImprovement teacherAnalysisImprovement);

    /**
     * 删除任课教师分析与改进
     *
     * @param id 任课教师分析与改进ID
     * @return 结果
     */
    int deleteTeacherAnalysisImprovementById(Long id);

    /**
     * 批量删除任课教师分析与改进
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteTeacherAnalysisImprovementByIds(String[] ids);

    TeacherAnalysisImprovement selectByReportId(long reportId);

    int deleteByReportId(long reportId);
}
